// components/showBuyList/showBuyList.js
const api = require("../../api/api")
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    showEvaluation:{
      type:Array,
      value:[]
    },
    iid:{
      type:Number,
      value:[]
    },
    show:{
      type:Boolean,
      value:true 
    }
  },
  
  data: {
   
  },
  methods: {
    do(e){   
      console.log(e.currentTarget.dataset.id)//goods_id
      console.log(this.data.showEvaluation)
      console.log(this.data.showEvaluation[0].goods_id)
      wx.navigateTo({
        url: '../../pages/Eval/Eval?goodsId='+e.currentTarget.dataset.id,
      })
    }
  }
})
